<table id="toplinks">
	<tr>
		<td><h3>Settings</h3></td>
	</tr>
</table>
<form action="{ $SCRIPT_NAME }?submit" method="post">
<table class="list">
	<tr>
		<td class="listHead" colspan="3">{ $lang.HEAD_GENERAL }</td>
	</tr>
	<tr>
		<td class="listSubHead">{ $lang.FIELD_NOTALLOWEDIMAGE }</td>
		<td class="listNormal">
		<select name="notallowedimageid">
			{html_options options=$images selected=$CONFIG.not_allowed_image}
		</select>
		</td>
		<td class="listNormal smallfont">{ $lang.INFO_NOTALLOWEDIMAGE }</td>
	</tr>

	<tr>
		<td class="listSubHead">{ $lang.FIELD_NOTFOUNDIMAGE }</td>
		<td class="listNormal">
		<select name="notfoundimageid">
			{html_options options=$images selected=$CONFIG.not_found_image }
		</select>
		</td>
		<td class="listNormal smallfont">{ $lang.INFO_NOTFOUNDIMAGE }</td>
	</tr>

	<tr>
		<td  class="listSubHead">{ $lang.FIELD_NOTFOUNDDIM }</td>
		<td class="listNormal" WIDTH="200"><input type="text" name="size_height" size="7" value="{ $CONFIG.not_found_dim_width }"/> x <input type="text" name="size_width"  size="7" value="{ $CONFIG.not_found_dim_height }"/></td>
		<td class="listNormal smallfont">{ $lang.INFO_NOTFOUNDIMAGEDIM }</td>
	</tr>
	<tr>
		<td  class="listSubHead">{ $lang.FIELD_THUMBSIZE }</td>
		<td class="listNormal"><input type="text" name="thumbsize" value="{ $CONFIG.thumbnail_size }"/></td>
		<td class="listNormal smallfont">{ $lang.INFO_THUMBSIZE }</td>
	</tr>
	<tr>
		<td class="listSubHead">{ $lang.FIELD_LANGUAGE }</td>
		<td class="listNormal">
		<select name="langname">
			{html_options options=$langfiles selected=$CONFIG.lang}
		</select>
		</td>
		<td class="listNormal smallfont">{ $lang.INFO_LANGUAGE }</td>
	</tr>
	<tr>
		<td class="listSubHead">{ $lang.FIELD_THEME }</td>
		<td class="listNormal">
		<select name="theme">
			{html_options options=$themes selected=$CONFIG.theme}
		</select>
		</td>
		<td class="listNormal smallfont">{ $lang.INFO_THEMES }</td>
	</tr>
    <tr>
		<td  class="listSubHead">{ $lang.FIELD_PER_PAGE }</td>
		<td class="listNormal"><input type="text" name="per_page" value="{ $CONFIG.per_page }" size="7"/></td>
		<td class="listNormal smallfont">{ $lang.INFO_PER_PAGE }</td>
	</tr>
	<tr>
		<td class="listHead" colspan="3">{ $lang.HEAD_SERVER }</td>
	</tr>
  	<tr>
		<td class="listSubHead">{ $lang.FIELD_WEBPATH }</td>
		<td class="listNormal"><input type="text" name="webpath" value="{ $CONFIG.webpath }"/></td>
		<td class="listNormal smallfont">{ $lang.INFO_WEBPATH }</td>
	</tr>      
    <tr>
		<td class="listSubHead">{ $lang.FIELD_MOD_REWRITE }</td>
		<td class="listNormal">{html_radios name='mod_rewrite' options=$mod_rewrite_radios selected=$CONFIG.mod_rewrite separator='&nbsp;&nbsp;'}</td>
		<td class="listNormal smallfont">{ $lang.INFO_MOD_REWRITE }</td>
	</tr> 
	<tr>
		<td class="listHead" colspan="3">{ $lang.HEAD_LOGIN }</td>
	</tr>
	<tr>
		<td class="listSubHead">{ $lang.FIELD_USERNAME }</td>
		<td class="listNormal"><input type="text" name="username" value="{ $CONFIG.username }"/></td>
		<td class="listNormal smallfont">{ $lang.INFO_USERNAME }</td>
	</tr>
	<tr>
		<td class="listSubHead">{ $lang.FIELD_PASSWORD }</td>
		<td class="listNormal"><input type="password" name="userpassword"/></td>
		<td class="listNormal smallfont">{ $lang.INFO_PASSWORD }</td>
	</tr>
	<tr>
		<td class="listSubHead">{ $lang.FIELD_REPEAT_PASSWORD }</td>
		<td class="listNormal"><input type="password" name="userpassword_repeat"/></td>
		<td class="listNormal smallfont"></td>
	</tr>
	<tr>
		<td colspan="3" class="listFoot"><input type="submit" value="{ $lang.BUTTON_SUBMIT }"></td>
	</tr>

</table>
</form>
{literal}
{/literal}